import React, { Component } from 'react'
import Navbar from './Navbar/index'
import Sidebar from './Sidebar/index'

export default class App extends Component {
    render() {
        return (
            <div>
                {/* 类组件 */}
                <Navbar title='导航' />

                {/* 函数式组件 */}
                <Sidebar bg='#8df' position="left" />
            </div>
        )
    }
}
